<include file="public@head_top"/>
<include file="public@member_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>

<div class="wrap clearfloat tc-main">
	<div class="row">
    
        <div class="col-lg-3 leftnav">
            <include file="public@usernav" />
        </div>
        
		<div class="col-lg-9 rightmain">

                <div class="card-header usertitle">
                    <ul class="nav nav-tabs card-header-tabs">
                      <li class="nav-item">
                        <a class="nav-link active" href="#one" data-toggle="tab"><i class="fa fa-star"></i> 我的收藏</a>
                      </li>
                    </ul>
                  </div>
                  
                <div class="tab-content usercontent st-tableStyleBlock">
                    <div class="tab-pane active" id="one">
                    
                    	<div class="st-x-tablerespon">
                        <table class="table table-bordered table-striped table-hover st-tablelist1">
                            <thead>
                                <tr>
                                    <th width="120">图片</th>
                                    <th>标题</th>
                                    <th width="150">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <foreach name="lists" item="vo">
                                <tr>
                                    <td>
                                        <empty name="vo.thumbnail">
                                        <img src="__TMPL__/public/assets/images/default-thumbnail.png"
                                                 alt="{$vo.post_title}" width="60" class="st-xm-wid100">
                                            <else/>
                                            <img src="{:cmf_get_image_url($vo.thumbnail)}"
                                                 alt="{$vo.post_title}" width="60" class="st-xm-wid100">
                                        </empty>
                                    </td>
                                    <td>{$vo.title}</td>
                                    <td class="st-boxcenter">
                                        <php>
                                            $url = json_decode($vo['url'],true);
                                        </php>
                                        <a class="listaco listbtn listbtn1" href="{:cmf_url($url['action'],$url['param'])}">查看</a> |
                                        <a class="js-ajax-dialog-btn listaco2 listbtn listbtn2" href="{:url('user/favorite/delete',array('id'=>$vo['id']))}" data-msg="您确定要取消收藏吗？" data-ok="" data-cacel="取消">取消收藏</a>
                                    </td>
                                </tr>
                                </foreach>
                            </tbody>
                        </table>
                        </div>
                        <div class="pagination">{$page|default=''}</div>
                        
                    </div>
                </div>
                
        </div>
        
    </div>
</div>
<!-- /container -->

<include file="public@footer"/>
<include file="public@member_scripts"/>
</body>    
</html>